//
//  UIApplication+ZHHelper.m
//  BCUIKit
//
//  Created by chun.chen on 2019/10/14.
//

#import "UIApplication+ZHHelper.h"

@implementation UIApplication (ZHHelper)

+ (UIWindow *)bc_keyWindow {
        #ifdef __IPHONE_13_0
    if (@available(iOS 13.0, *)) {
        return [[[UIApplication sharedApplication] windows] lastObject];
    }
        #endif
     return [UIApplication sharedApplication].keyWindow;
}


@end
